<?php
class ReportController extends IG_Controller_Action
{
    public function indexAction ()
    {
        $reportId = (int) $this->_getParam('id');
//        return ;
        $this->setNoRender();
        $report = IG_Report::factory('xml' , array(
            'path' => APPLICATION_PATH . "/../data/report/"
        ));

        $report->loadConfig($reportId)
               ->loadPlugins();
    }

    public function testAction()
    {
        $a = new Zend_Config_Xml(APPLICATION_PATH . "/../data/report/4.xml");

        print_r($a->toArray());
        exit;
    }
}